<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    #d1{
      color: red;
      font-size: 20px;
    }
    div{color: yellow}
    p{color: aqua}
  </style>

</head>
<body>
<div id="d1">
  <p>这是div里面的p</p>
  <span>这是div里面的span</span><br>
  <a href="">超链接</a>
</div>
<div id="d2"></div>
</body>
</html>